package com.pubinfo.passbook.common.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.pubinfo.passbook.common.entity.TContractWriteoffHeader;
import com.pubinfo.passbook.common.entity.TWiteoffInstance;
import com.pubinfo.passbook.common.model.dto.contract.FeeListParam;
import com.pubinfo.passbook.common.model.dto.contract.WriteOffBackParam;
import com.pubinfo.passbook.common.model.vo.contract.ContractWriteOffVo;
import com.pubinfo.passbook.common.model.vo.contract.FeeCollectionListVo;
import com.pubinfo.passbook.common.model.vo.contract.WriteOffRollbackVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author 全
 * @description 针对表【t_contract_writeoff_header(报账单预制表-基本信息)】的数据库操作Mapper
 * @createDate 2021-12-07 15:13:39
 * @Entity generator.domain.TContractWriteoffHeader
 */
public interface TContractWriteoffHeaderMapper extends BaseMapper<TContractWriteoffHeader> {

    /**
     * 获取税金计提明细
     */
    List<ContractWriteOffVo> getContractWriteOffList(Integer contractId);

    List<TContractWriteoffHeader> selectStatusNotReady();


    //List<TContractWriteoffHeader> getReimbursemenList(@Param("contractId") Integer param);
    IPage<WriteOffRollbackVo> getReimbursemenList(IPage<WriteOffRollbackVo> page, @Param("param") WriteOffBackParam param);


}
